table {
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}
td, th {
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}

